package net.wesc.ac.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface ServiceAsync {
	void fit(String data, String model, String type, String temp, AsyncCallback<double[]> callback)
			throws IllegalArgumentException;
	
	void expPlot(String data, String model, AsyncCallback<String> callback)
	throws IllegalArgumentException;

	void fitPlot(String data, double[] param, String model, String type, String temp, AsyncCallback<String> callback)
	throws IllegalArgumentException;
	
	void bothPlot(String data, double[] param, String model, String type, String temp, AsyncCallback<String> callback)
	throws IllegalArgumentException;
}
